
package logindata;
/*
 * User contains ussername, password, and permissions with get/set functionality
 */
public class User {

    public User(String _username, String _password, int _permissions) {
        username = _username;
        password = _password;
        permissions = _permissions;
    }

    public String getUserName() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public int getPermissions() {
        return permissions;
    }

    public void setUsername(String _username) {
        username = _username;
    }

    public void setPassword(String _password) {
        password = _password;
    }

    public void setPermissions(int _permissions) {
        permissions = _permissions;
    }
    private String username;
    private String password;
    private int permissions;
}
